package com.sxbbc.common.core.entity.jz;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * <p>
 * 会员等级表
 * </p>
 *
 * @author leehao
 * @since 2019-04-30
 */
@TableName("c_level_info")
@Data
public class CustomerLevelInfo extends Model<CustomerLevelInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 等级名称
     */
    private String name;
    /**
     * 等级级别
     */
    private BigDecimal level;

    /**
     * 升级创业分
     */
    private BigDecimal point;
    /**
     * 直推人数
     */
    private Integer underNum;

    /**
     * 自营商城消费抽成比例
     */
    private BigDecimal scale;

    /**
     * 会员业务提成收入比例
     */
    private BigDecimal bussinessScale;

    /**
     * 可选标记
     */
    @TableField(exist = false)
    private String checkFlag;

}
